package my.headfirstjava.strategy.v2;

/**
 * 红头鸭
 */
public class RedHeadDuck extends Duck implements Flayable,Quackable {

 
	public void display() {
		System.out.println("I'm a real Red Headed duck");
	}

	@Override
	public void flay() {
		System.out.println("我会飞");
	}

	@Override
	public void quack() {
		System.out.println("我会叫");

	}

}
